projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7ec70
)
(init_environment): Remove EMACSLOCKDIR.
author
Jason Rumney
<jasonr@gnu.org>
Thu, 13 Jun 2002 20:41:33 +0000
(20:41 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Thu, 13 Jun 2002 20:41:33 +0000
(20:41 +0000)
(stat): Swap _S_IFDIR and _S_IFREG.
src/w32.c
patch
|
blob
|
history
diff --git
a/src/w32.c
b/src/w32.c
index f4637721165a590adff9f58f8c706bbf5743785d..b789bb47e5273682126386249becbf441456132d 100644
(file)
--- a/
src/w32.c
+++ b/
src/w32.c
@@
-2206,7
+2206,7
@@
stat (const char * path, struct stat * buf)
{
/* Don't bother to make this information more accurate. */
buf->st_mode = (wfd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ?
- _S_IF
REG : _S_IFDIR
;
+ _S_IF
DIR : _S_IFREG
;
buf->st_nlink = 1;
fake_inode = 0;
}